Developer Documentation

QuickTime 4 API Documentation

Wired Movies and Sprites

| Previous | Chapter Contents | Chapter Top | Next |

Actions for Sprite Tracks

Constant descriptions

kActionSpriteTrackSetVariable
none Param1: [QTAtomID variableID] Param2: [float value]

Sets the value of the variable specified by variableID for the target sprite track to value.

Each sprite track in a movie has its own set of variables. Variables are runtime only; they are not saved and restored. If you need to initialize variables to certain values, you can use the kActionSpriteTrackSetVariable action in response to the kQTEventFrameLoaded event.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |